<?php
class Solicitudes_Form_FinalizarRevisionInforme extends Form_Cna {
	
		
	public function __construct($options = null) {
		parent::__construct($options);
	}
	
	public function init() {
		$this->setName('finalizarrevisioninforme');
		$this->setMethod("post");
		
	    $element = new Zend_Form_Element_Radio("codestado");
	    $element->setLabel("Finalizar revisión y cambiar estado");
	    $element->setRequired(true);
	    $element->setValue(Solicitudes_Model_Historicoprocesos::PARA_COMENTARIOS_DEL_RECTOR);
	    $element->addMultiOptions(array(Solicitudes_Model_Historicoprocesos::ESPERA_INFORME_PAR=>"Regresar a Informe de pares",
	                                    Solicitudes_Model_Historicoprocesos::PARA_COMENTARIOS_DEL_RECTOR=>"Ir a comentarios del Rector"));
		$elements[] = $element;
			
       
		$element = new Zend_Form_Element_Submit('btnSubmit');
		$element->setLabel('Guardar');
		$element->setValue('Guardar');
		$element->setAttrib("class", "iceCmdBtn");
		$elements[] = $element;
		
		$this->addElements ($elements);
		$this->loadTableDecorators();
	}
}
